<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta id="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
		<meta name="apple-themes-web-app-capable" content="yes">
		<meta content="yes" name="apple-mobile-web-app-capable">
		<meta content="black" name="apple-mobile-web-app-status-bar-style">
		<meta content="telephone=no" name="format-detection">
		<meta content="email=no" name="format-detection">
		<meta name="format-detection" content="telephone=no">
		<title>中奖记录</title>
        <link rel="stylesheet" href="${s.base}/mobile/css/main.css" type="text/css" media="all">
	</head>

	<body>   
		<header id="header">
			<div class="header_con">
				<a href="javascript:history.go(-1);"><span></span></a> 
                <div class="top_tit">中奖记录</div>         
			</div>
		</header>

		<div id="content_div"  >
            <div class="yy_jl_box" style="display:block;">
                <#if activityList?? && (activityList?size > 0) >
                    <#list activityList as activity>
                        <div class="yy_jl_db">
                            <ul>
                                <#if activity.currentMemberStatus == '1'><i></i></#if>
                                <img src="${activity.imageOne}" />

                                <li onclick="window.location.href='${s.base}/phone/selectActivityEntity?memberId=${memberId}&activityId=${activity.id}'">
                                    <h2>${activity.itemTitle}</h2>
                                    <p><span>期</span>号：${activity.periodsNum}</p>
                                    <p>是否中奖： <label><#if activity.currentMemberStatus == '1'>中奖<#else>未中奖</#if></label></p>
                                    <p>中奖号码： <label>${activity.winningNum}</label></p>
                                    <p>参与人次： ${activity.totalNum}人次</p>
                                    <p>开奖时间： <#if activity.status == '2'>${activity.updateTime?date}<#else>未结束</#if></p>
                                </li>

                            </ul>
                            <dl class="clearfixd">
                                <dd onClick="window.location.href='${s.base}/phone/sendPinglun?memberId=${memberId}&activityId=${activity.id}&itemId=${activity.itemId}&totalNum=${activity.totalNum}'"><i class="et_ib01"></i>我要晒单</dd>
                                <#if activity.receivingStatus == '2'>
                                    <dd class="xz_a" onClick="window.location.href='${s.base}/phone/duihuan/${activity.receivingId}/${activity.itemId}?winningNum=${activity.winningNum}&memberId=${memberId}'"><i class="et_ib02"></i>立即兑奖</dd>
                                <#else>
                                    <dd class="xz_a" onClick="window.location.href='${s.base}/phone/duihuanshow/${activity.receivingId}/${activity.itemId}?winningNum=${activity.winningNum}&memberId=${memberId}'"><i class="et_ib02"></i>查看兑奖</dd>
                                </#if>
                            </dl>
                        </div>
                    </#list>
                    <#else>
                        <div class="yy_jl_no">
                            <i></i>
                            <p>您还没有夺宝记录哦！</p>
                            <a href="${s.base}/phone/index?memberId=${memberId}">立即夺宝</a>
                        </div>
                </#if>
            </div>
        </div>
        <script type="text/javascript" src="${s.base}/mobile/js/jquery.min.js"></script>
        <script type="text/javascript" src="${s.base}/mobile/js/common.js"></script>
	</body>

</html>